<div class="widgetcontent bordered shadowed nopadding">
    <form class="stdform stdform2" method="POST" action="" enctype="multipart/form-data">
    <input type="hidden" name="id" value="<?php echo $id ?>" />
        <p>
            <label for="judul_berita">
                Judul Berita
            </label>
            <span class="field">
                <input id="judul_berita" class="input-xlarge" type="text" name="judul_berita" required maxlength="32" value="<?php echo $judul_berita ?>" />
            </span>
        </p>
        <p>
            <label for="isi_berita">
                Isi Berita
            </label>
            <span class="field">
				<textarea id="isi_berita" name="isi_berita" required id="autoResizeTA" cols="80" rows="5" class="span5" style="resize: vertical"><?php echo set_value('isi_berita', $isi_berita) ?></textarea>
            </span>
        </p>
		<p>
			<label for="foto">Foto Berita</label>
			<span class="field">
				<input id="foto" type="file" class="uniform-file" name="foto" />
			</span>
		</p>
        
        <p class="stdformbutton">
            <button class="btn btn-primary">Simpan</button>
            <button type="reset" class="btn">Reset</button>
        </p>
    </form>
</div>
<?php echo validation_errors(); ?>